package com.rttmall.shopbackend.app.gambling.service;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartHttpServletRequest;

import com.rttmall.shopbackend.app.gambling.pojo.Category;
import com.rttmall.shopbackend.app.gambling.pojo.Product;
import com.rttmall.shopbackend.app.gambling.pojo.ProductCustom;
import com.rttmall.shopbackend.pojo.Pagination;

public interface ProductService {

	Map queryProduct(ProductCustom productCustom);

	void addProductSubmit(MultipartHttpServletRequest multiRequest,
			Product product) throws Exception;

	Product editQueryProduct(Integer id);

	void updateProductSubmit(MultipartHttpServletRequest multiRequest,
			Product product) throws Exception;

	void batchEditProductStatus(List<String> productIdList, Integer flag) throws Exception;

	List<Category> findAllCategory();

	Map queryVirtualProduct(String keyText, Pagination grid);


}
